package com.example.codegenerator.common.constant.file;

/**
 * 包路径信息
 *
 * @author Lv
 * @date 2023/11/18
 */
public class PackageInfoConstant {
    /**
     * 代码生成包路径
     */
    public static final String GENERATOR_PACKAGE = "com.generatorcode";

    /**
     * 实体类包路径
     */
    public static final String ENTITY = ".entity";

    /**
     * 业务逻辑层包路径
     */
    public static final String SERVICE = ".service";

    /**
     * 业务逻辑层具体实现包路径
     */
    public static final String SERVICE_IMPL = ".service.impl";

    /**
     * 接入层包路径
     */
    public static final String FACADE = ".facade";

    /**
     * 前端控制层包路径
     */
    public static final String CONTROLLER = ".controller";

    /**
     * 同步接口层包路径
     */
    public static final String PROVIDER = ".provider";

    /**
     * 同步接口层具体实现包路径
     */
    public static final String PROVIDER_IMPL = ".provider.impl";

    /**
     * 接口层包路径
     */
    public static final String APIS = ".apis";

    /**
     * 持久层包路径
     */
    public static final String MAPPER = ".mapper";

    /**
     * 持久层xml包路径
     */
    public static final String MAPPER_XML = ".mapper.xml";

    /**
     * 业务对象包路径
     */
    public static final String BO = ".bo";

    /**
     * 数据显示对象包路径
     */
    public static final String VO = ".vo";

    /**
     * 数据传递对象包路径
     */
    public static final String DTO = ".dto";

    /**
     * baseMapper导入包
     */
    public static final String BASE_MAPPER_IMPORT_PACKAGES = "com.baomidou.mybatisplus.core.mapper.BaseMapper";

    /**
     * service接口父类导入包
     */
    public static final String BASE_SERVICE_IMPORT_PACKAGES = "com.baomidou.mybatisplus.extension.service.IService";

    /**
     * serviceImpl 父类导入包
     */
    public static final String BASE_SERVICE_IMPL_IMPORT_PACKAGES = "com.baomidou.mybatisplus.extension.service.impl.ServiceImpl";
}
